#ifndef EDITKEYWORDSDLG_H
#define EDITKEYWORDSDLG_H

#include "scrollingdialog.h"
#include "globals.h"

class wxSpinCtrl;
class wxTextCtrl;
class EditorColourSet;

class EditKeywordsDlg : public wxScrollingDialog {
  public:
    EditKeywordsDlg( wxWindow* parent, EditorColourSet* theme, HighlightLanguage lang, const wxArrayString& descr );
    ~EditKeywordsDlg();
  protected:
    void OnSetChange( wxSpinEvent& event );
    wxSpinCtrl* spnSet;
  public:
    EditorColourSet* m_pTheme;
    HighlightLanguage m_Lang;
    wxTextCtrl* txtKeywords;
    int m_LastSet;
  private:
    void UpdateDlg();
    const wxArrayString& descriptions;
    bool xml_File_lock;
    DECLARE_EVENT_TABLE()
};

#endif
